package com.qf.java2107.service;

import com.github.pagehelper.PageInfo;
import com.qf.java2107.pojo.Passenger;
import com.qf.java2107.pojo.Passports;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author YB
 * @date 2022/01/08
 * @VERSION V1.0
 **/
@Service
public interface PassportsService {

    List<Passports> findAll();

    PageInfo<Passports> findPage(Integer pageNum, Integer pageSize);

    Passports findById(Integer id);

    int update(Passports passports);

    void delete(Integer id);
}
